package com.chinafocus.gc;

import com.chinafocus.gc.pojo.TestCase;

import java.util.ArrayList;
import java.util.List;

/**
 * @author wd
 * @version 1.0
 * @date 2020/6/19
 * @Description
 * 堆溢出测试 -Xms2M -Xmx2M -XX:+PrintGCDetails -XX:+PrintGCDateStamps
 */
public class HeapOutOfMemory {
    public static void main(String[] args) {
        List cases = new ArrayList();
        while (true) {
            cases.add(new TestCase());
        }
    }


}
